package com.jxs.android.ges;

import java.lang.ref.WeakReference;

import com.jxs.android.ges.R;

import android.app.Activity;
import android.widget.TextView;

public class LaucherMyInfoManager {
	static public interface UI {
		static public class ViewHolder {
			TextView my_info_staff_no;// 工号
			TextView my_info_phone;// 电话号码
			TextView my_info_name;// 姓名
			TextView my_info_latn_name;// 分公司
			TextView my_info_role_name;// 角色
		}

		static public class InitViewHolder {

			WeakReference<Activity> reference;

			public InitViewHolder(Activity activity) {
				reference = new WeakReference<Activity>(activity);
			}

			public ViewHolder init() {
				Activity activity = reference.get();
				ViewHolder viewHolder = new ViewHolder();
				viewHolder.my_info_staff_no = (TextView) activity.findViewById(R.id.my_info_staff_no);// 工号
				viewHolder.my_info_phone = (TextView) activity.findViewById(R.id.my_info_phone);// 工号
				viewHolder.my_info_name = (TextView) activity.findViewById(R.id.my_info_name);// 姓名
				viewHolder.my_info_latn_name = (TextView) activity.findViewById(R.id.my_info_latn_name);// 分公司
				viewHolder.my_info_role_name = (TextView) activity.findViewById(R.id.my_info_role_name);// 角色
				return viewHolder;
			}
		}
	}
}
